﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class System:Person
    {
        public System() 
        {

        }
        public System(string name ):base(name) 
        {

        }
        public override string Hello()
        {
            Random random = new Random();
            int punch = random.Next(1,4);
            switch (punch)
            {
                case 1:
                    return "剪刀";
                case 2:
                    return "石头";
                case 3:
                    return "布";
                default:
                    break;
            }
            return "";
        }
    }
}
